import java.util.Scanner;

/**
 * Created by dllo on 18/3/28.
 */
public class Question03 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入数字");
        int week = scanner.nextInt();
        if (week ==1){
            System.out.println("星期一");
        }
        if (week ==2){
            System.out.println("星期二");
        }
        if (week ==3){
            System.out.println("星期三");
        }
        if (week ==4){
            System.out.println("星期四");
        }
        if (week ==5){
            System.out.println("星期五");
        }
        if (week ==6){
            System.out.println("星期六");
        }
        if (week ==7){
            System.out.println("星期日");
        }
        //超过1--7范围  输出的信息
        if (week<1!=week>7){
            System.out.println("数据异常");
        }
    }
}
